﻿using ComicQ.Domain.Table;
using FluentNHibernate.Mapping;

namespace ComicQ.Domain.Mapping
{
    sealed class ReturnMap : ClassMap<Return>
    {
        public ReturnMap()
        {
            Id(x => x.Id);
            References(x => x.Staff).Cascade.All();
            References(x => x.Order).Cascade.All();
            Map(x => x.Date);
        }
    }
}
